package com.edu.bhu.admin.service;

import java.util.List;
import com.edu.bhu.admin.domain.HouApply;

/**
 * 租房申请Service接口
 * 
 * @author zhangkeyi
 * @date 2022-02-22
 */
public interface IHouApplyService 
{
    /**
     * 查询租房申请
     * 
     * @param applyId 租房申请主键
     * @return 租房申请
     */
    public HouApply selectHouApplyByApplyId(Long applyId);

    /**
     * 查询租房申请列表
     * 
     * @param houApply 租房申请
     * @return 租房申请集合
     */
    public List<HouApply> selectHouApplyList(HouApply houApply);

    /**
     * 查询租房申请列表(关联明细)
     *
     * @param houApply 租房申请
     * @return 租房申请集合
     */
    public List<HouApply> selectHouApplyListWithDetail(HouApply houApply);

    /**
     * 新增租房申请
     * 
     * @param houApply 租房申请
     * @return 结果
     */
    public int insertHouApply(HouApply houApply);

    /**
     * 修改租房申请
     * 
     * @param houApply 租房申请
     * @return 结果
     */
    public int updateHouApply(HouApply houApply);

    /**
     * 批量删除租房申请
     * 
     * @param applyIds 需要删除的租房申请主键集合
     * @return 结果
     */
    public int deleteHouApplyByApplyIds(String applyIds);

    /**
     * 删除租房申请信息
     * 
     * @param applyId 租房申请主键
     * @return 结果
     */
    public int deleteHouApplyByApplyId(Long applyId);
}
